package gjtx5;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Time2 {
    public static void main(String[] args) {
        Calendar ca=Calendar.getInstance();
        SimpleDateFormat df=new SimpleDateFormat("yyyy/MM/dd");
        ca.set(2017,06,12);
        String str=df.format(ca.getTime());
        System.out.println(str);
        ca.add(Calendar.DAY_OF_YEAR,1826);
        String str1=df.format(ca.getTime());
        System.out.println(str1);

    }
}
